import Vue from 'vue'
import App from './App.vue'
import VueRouter from "vue-router"
import router from "./router"

import './relyon/vant'
import './relyon/base'
import './relyon/mui'

import '../node_modules/vant/lib/index.css'
import './assets/js/Tools'
import './assets/css/config.css'
import store from './store'
import { baseIp } from './api/config'

import {
	Toast
} from 'vant';
Vue.prototype.$toast=Toast
Vue.prototype.$ip = baseIp + '/static'

Vue.use(VueRouter)
Vue.config.productionTip = false

export const v = new Vue({
  render: h => h(App),
  router,
  store,
  beforeCreate(){
    Vue.prototype.$bus = this
  }
}).$mount('#app')

export default {
	v,
}
